using RockHopper.Common.Model;

namespace RockHopper.TrainingCalculator.WinRT.ViewModel
{
    public abstract class TileViewModel : PopupViewModel
    {
        private string liveTileInfo;
        
        public string LiveTileInfo
        {
            get
            {
                return liveTileInfo;
            }
            protected set
            {
                liveTileInfo = value;
                OnPropertyChanged("LiveTileInfo");
            }
        }

        public abstract void UpdateLiveTile(CalculationContext context, PaceUnitType units);
    }
}